package com.hb.trade.server.expert.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hb.core.pojo.expert.dto.ExpertMajorDTO;
import com.hb.core.pojo.expert.entity.ExpertMajor;

import java.util.List;

/**
 * @author jinhaolin
 * @date 2022/1/19 17:46
 **/
public interface ExpertMajorService extends IService<ExpertMajor> {

    /**
     * 获取专业列表
     * @param expertMajorDTO
     * @return
     */
    List<ExpertMajorDTO> majorList(ExpertMajorDTO expertMajorDTO);

    ExpertMajorDTO findByMajorCode(String majorCode);

}
